js-methods


JavaScript prototype extensions.

Welcome to JS-methods

JS-methods for JavaScript bundles a lot of extensions to the language's core classes to simplify development. This extensions doesn't depend on any other code or overwrite existing methods.

JS-methods can be easily combined with object oriented libraries, such as jQuery or Prototype deploy without overwriting existing variables or functions. JS-methods is divided into individual files, which has prepared for each property methods.

Array prototype extensions

Extends array prototype with the following methods:

contains, every, exfiltrate, filter, forEach, getRange, inArray, indexOf, insertAt, map, randomize, removeAt, some, unique

Char extensions

Char extensions convert between characters and decimal Numeric Character References. Extends string prototype with the following methods:

char2dec, dec2char

Codecs

Extends string prototype with the following methods:

encodeUTF8, decodeUTF8, encodeBase64, decodeBase64

md5

Extends string prototype with the following method:

md5

String prototype extensions

Extends string prototype with the following methods:

camelize, capitalize, collapseSpaces, format, ltrim, pad, remove, repeat, reverse, rtrim, sprintf, stripTags, trim, truncate

Project Information

Labels:
javascript method prototype codecs encryption decryption